package com.ztgf.order.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import com.ztgf.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 支付回调信息表DTO
 *
 * @author YUE
 * @Date 2020-11-12 10:12:39
 */
@Data
@TableName("order_pay_call_back_info")
@ApiModel(value="支付回调信息表对象", description="支付回调信息表对象")
public class OrderPayCallBackInfoDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "创建人")
    private Long createUserId;
    @ApiModelProperty(value = "更新人")
    private Long updateUserId;
    @ApiModelProperty(value = "订单id")
    private Long orderId;
    @ApiModelProperty(value = "业务订单流水id")
    private Long businessOrderWaterId;
    @ApiModelProperty(value = "支付订单id")
    private Long orderPayRelationId;
    @ApiModelProperty(value = "退款订单id")
    private Long refundOrderId;
    @ApiModelProperty(value = "支付母订单id")
    private Long payOrderMotherId;
    @ApiModelProperty(value = "0退款 1支付 2重复支付 3佣金回调")
    private Integer type;
    @ApiModelProperty(value = "类型 0余额、1网银")
    private Integer payType;
    @ApiModelProperty(value = "支付状态 0未付款、1支付中、2支付成功、3支付失败")
    private Integer payStatus;
    @ApiModelProperty(value = "退款状态 0 未退款 1 退款中 2已退款 3退款失败")
    private Integer refundStatus;
    @ApiModelProperty(value = "中金流水号")
    private String zjBusinessId;
    @ApiModelProperty("订单编号")
    private String orderNo;
    @ApiModelProperty("佣金金额")
    private BigDecimal commissionMoney;
}